#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([boost_property_tree_hdf5], [0.1], [address@no.email.com])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_SRCDIR([lib/boost/property_tree/hdf5_parser_write.hpp])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])

# Checks for programs.
AC_PROG_CXX
AC_PROG_LIBTOOL

# Checks for libraries.
# Check for a minimum BOOST version--sets BOOST_CPPFLAGS
BOOST_REQUIRE([1.46])
# BOOST library checks--linked, so sets BOOST_<NAME>_LDFLAGS and BOOST_<NAME>_LIBS
BOOST_PROGRAM_OPTIONS
# HDF5--sets HDF5_CPPFLAGS, HDF5_CXXFLAGS, HDF5_LDFLAGS, and HDF5_LIBS
AX_LIB_HDF5_CXX

# Checks for header files.
# BOOST library checks--header only, sets BOOST_CPPFLAGS
BOOST_PROPERTY_TREE

# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL

# Checks for library functions.

AC_CONFIG_FILES([Makefile
                 src/Makefile])
AC_OUTPUT
